projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b720878
)
(parse_menu_item): Put a quote around DEF
author
Richard M. Stallman
<rms@gnu.org>
Sat, 13 Jun 1998 05:27:47 +0000
(
05:27
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 13 Jun 1998 05:27:47 +0000
(
05:27
+0000)
to pass it as an argument to the filter function.
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index cf793b1909a7b10661cda950a6e8f79bc6c029a2..fee59e3af95729c04ff9df98433fee0fe961017b 100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-5801,8
+5801,9
@@
parse_menu_item (item, notreal, inmenubar)
def = XVECTOR (item_properties)->contents[ITEM_PROPERTY_DEF];
if (!NILP (filter))
{
- def = menu_item_eval_property (Fcons (XCONS (filter)->car,
- Fcons (def, Qnil)));
+ def = menu_item_eval_property (list2 (XCONS (filter)->car,
+ list2 (Qquote, def)));
+
XVECTOR (item_properties)->contents[ITEM_PROPERTY_DEF] = def;
}